Optimal. Leaf size=64 \[ \frac{553 (10 x+3)}{9610 \left (5 x^2+3 x+2\right )}+\frac{11 (13 x+7)}{310 \left (5 x^2+3 x+2\right )^2}+\frac{1106 \tan ^{-1}\left (\frac{10 x+3}{\sqrt{31}}\right )}{961 \sqrt{31}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0370305, antiderivative size = 64, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.217, Rules used = {1660, 12, 614, 618, 204} \[ \frac{553 (10 x+3)}{9610 \left (5 x^2+3 x+2\right )}+\frac{11 (13 x+7)}{310 \left (5 x^2+3 x+2\right )^2}+\frac{1106 \tan ^{-1}\left (\frac{10 x+3}{\sqrt{31}}\right )}{961 \sqrt{31}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1660
Rule 12
Rule 614
Rule 618
Rule 204
Rubi steps
\begin{align*} \int \frac{3-x+2 x^2}{\left (2+3 x+5 x^2\right )^3} \, dx &=\frac{11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac{1}{62} \int \frac{553}{5 \left (2+3 x+5 x^2\right )^2} \, dx\\ &=\frac{11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac{553}{310} \int \frac{1}{\left (2+3 x+5 x^2\right )^2} \, dx\\ &=\frac{11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac{553 (3+10 x)}{9610 \left (2+3 x+5 x^2\right )}+\frac{553}{961} \int \frac{1}{2+3 x+5 x^2} \, dx\\ &=\frac{11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac{553 (3+10 x)}{9610 \left (2+3 x+5 x^2\right )}-\frac{1106}{961} \operatorname{Subst}\left (\int \frac{1}{-31-x^2} \, dx,x,3+10 x\right )\\ &=\frac{11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac{553 (3+10 x)}{9610 \left (2+3 x+5 x^2\right )}+\frac{1106 \tan ^{-1}\left (\frac{3+10 x}{\sqrt{31}}\right )}{961 \sqrt{31}}\\ \end{align*}
Mathematica [A] time = 0.0249325, size = 53, normalized size = 0.83 \[ \frac{\frac{31 \left (5530 x^3+4977 x^2+4094 x+1141\right )}{\left (5 x^2+3 x+2\right )^2}+2212 \sqrt{31} \tan ^{-1}\left (\frac{10 x+3}{\sqrt{31}}\right )}{59582} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.044, size = 47, normalized size = 0.7 \begin{align*} 25\,{\frac{1}{ \left ( 5\,{x}^{2}+3\,x+2 \right ) ^{2}} \left ({\frac{553\,{x}^{3}}{4805}}+{\frac{4977\,{x}^{2}}{48050}}+{\frac{2047\,x}{24025}}+{\frac{1141}{48050}} \right ) }+{\frac{1106\,\sqrt{31}}{29791}\arctan \left ({\frac{ \left ( 3+10\,x \right ) \sqrt{31}}{31}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.47233, size = 76, normalized size = 1.19 \begin{align*} \frac{1106}{29791} \, \sqrt{31} \arctan \left (\frac{1}{31} \, \sqrt{31}{\left (10 \, x + 3\right )}\right ) + \frac{5530 \, x^{3} + 4977 \, x^{2} + 4094 \, x + 1141}{1922 \,{\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.801471, size = 242, normalized size = 3.78 \begin{align*} \frac{171430 \, x^{3} + 2212 \, \sqrt{31}{\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )} \arctan \left (\frac{1}{31} \, \sqrt{31}{\left (10 \, x + 3\right )}\right ) + 154287 \, x^{2} + 126914 \, x + 35371}{59582 \,{\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.280638, size = 63, normalized size = 0.98 \begin{align*} \frac{5530 x^{3} + 4977 x^{2} + 4094 x + 1141}{48050 x^{4} + 57660 x^{3} + 55738 x^{2} + 23064 x + 7688} + \frac{1106 \sqrt{31} \operatorname{atan}{\left (\frac{10 \sqrt{31} x}{31} + \frac{3 \sqrt{31}}{31} \right )}}{29791} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.25107, size = 62, normalized size = 0.97 \begin{align*} \frac{1106}{29791} \, \sqrt{31} \arctan \left (\frac{1}{31} \, \sqrt{31}{\left (10 \, x + 3\right )}\right ) + \frac{5530 \, x^{3} + 4977 \, x^{2} + 4094 \, x + 1141}{1922 \,{\left (5 \, x^{2} + 3 \, x + 2\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]